package com.dingli.framework.mapper;

import com.dingli.framework.entity.Resume;
import com.dingli.framework.entity.Trainmember;
import com.dingli.framework.entity.Undertake;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TrainmemberMapper {

    //查询项目服务列表
    List<Trainmember> TRselectList(String search);

    //查看项目服务详情
    List<Trainmember> TRselectAll (Long tbId);

    //审核通过
    int TRupdateState(String tbId);

    //审核不通过
    int TRupdate(String tbId);

    //查询所有不通过的项目信息
    List<Trainmember> TRselect(String tbId);

    //新增
    int TRinsert(Trainmember trainmember);

    //修改
    int TRupdateById(Trainmember trainmember);

    //删除
    int TRdeleteById(Long tbId);
}
